﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PCSComUtils.DataContext;

namespace PCSComProduction.WorkOrder.DS
{
    /// <summary>
    ///     Extended class of <see cref="PRO_IssueMaterialDetail"/> with more information
    /// </summary>
    public class IssueMaterialDetail : PRO_IssueMaterialDetail
    {
        /// <summary>
        ///     Line of work order detail
        /// </summary>
        public int WorkOrderLine { get; set; }
        /// <summary>
        ///     Work order master number
        /// </summary>
        public string WorkOrderNo { get; set; }

        /// <summary>
        ///     Sale FGoods Code
        /// </summary>
        public string FGoodsCode { get; set; }
        /// <summary>
        ///     Location code
        /// </summary>
        public string Location { get; set; }
        /// <summary>
        ///     Bin Code
        /// </summary>
        public string Bin { get; set; }
        /// <summary>
        ///     Product Code
        /// </summary>
        public string PartNumber { get; set; }
        /// <summary>
        ///     Product description
        /// </summary>
        public string PartName { get; set; }
        /// <summary>
        ///     Product revision
        /// </summary>
        public string Model { get; set; }
        /// <summary>
        ///     Category of Product
        /// </summary>
        public string Category { get; set; }
        /// <summary>
        ///     Unit of measure code
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        ///     Committed quantity
        /// </summary>
        public decimal CommittedQuantity { get; set; }
        /// <summary>
        ///     Needed quantity for parent
        /// </summary>
        public decimal NeededQuantity { get; set; }
    }
}
